package com.permgmt.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.permgmt.entity.StockTransactionRecord;

import java.util.List;

/**
 * 服务类
 *
 * @author LIAO
 * @since 2020-06-24
 */
public interface IStockTransactionRecordService extends IService<StockTransactionRecord> {

    /**
     * 查询用户并分页
     */
    List<StockTransactionRecord> pageList();

    boolean sell(StockTransactionRecord record);

    double statisticsProfit();
}
